package com.bocai.yuweiwangluo.bean;

import java.util.ArrayList;

/**
 * Created by admin on 2015/12/16.
 */
public class MyCouponBean {
    /**
     * {
     "total":1,
     "page":1,
     "each":6,
     "data":
     [
     {"id":"5","usr_id":"7","price":"10","timeline":"1452668559",
     "stime":"1452668559","etime":"1453273359","from_usr_id":"7",
     "title":"\u65b0\u7528\u6237\u4f18\u60e0\u5238"}
     ]
     }
     */
    private int total;
    private int page;
    private int each;
    private ArrayList<Data> data;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getEach() {
        return each;
    }

    public void setEach(int each) {
        this.each = each;
    }

    public ArrayList<Data> getData() {
        return data;
    }

    public void setData(ArrayList<Data> data) {
        this.data = data;
    }

    public static class Data{
        private String id;
        private String usr_id;
        private String price;
        private String timeline;
        private String stime;
        private String etime;
        private String from_usr_id;
        private String title;
        private String intro;
        private int is_used;

        public int getIs_used() {
            return is_used;
        }

        public void setIs_used(int is_used) {
            this.is_used = is_used;
        }

        public String getIntro() {
            return intro;
        }

        public void setIntro(String intro) {
            this.intro = intro;
        }


        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUsr_id() {
            return usr_id;
        }

        public void setUsr_id(String usr_id) {
            this.usr_id = usr_id;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getTimeline() {
            return timeline;
        }

        public void setTimeline(String timeline) {
            this.timeline = timeline;
        }

        public String getStime() {
            return stime;
        }

        public void setStime(String stime) {
            this.stime = stime;
        }

        public String getEtime() {
            return etime;
        }

        public void setEtime(String etime) {
            this.etime = etime;
        }

        public String getFrom_usr_id() {
            return from_usr_id;
        }

        public void setFrom_usr_id(String from_usr_id) {
            this.from_usr_id = from_usr_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }

}
